package com.nwpu.am.pojo.dto;

import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * UserLoginDTO
 *
 * @author Roy
 * @version 1.0
 * {@code @date} 2024/6/3
 */

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("用户登录数据传输对象")
public class UserLoginDTO implements Serializable {
    @NotEmpty
    private String username;
    @NotEmpty
    private String password;
}
